//页头--------------------------
.zdy-head{
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: transparent; 
  display: flex;
  height: 74px;
  justify-content: space-between;
  // background-color: antiquewhite;

  // logo----------------------------
  .logo{
    // background-color: aquamarine;
    flex-grow: 1;
    height: 74px;
    h5{
      color: white;
    }
    p{
      color: white;
    }
  }
  // 菜单--------------------------------
  .meun{
    // background-color: aliceblue;
    height: 74px;
    flex-grow: 5;
    ul{
      height: 74px;
      align-items: center;
      min-width: 500px;
      list-style: none;
      justify-content: space-between;
      padding-left: 20px;
      li{
        a{
          text-decoration: none;
          color: white;
        }
      }
      li:first-child{
        position: relative;
        div{
          position: absolute;
          top: 25px;
          left: -60px;
          display: none;
         ul{
           li{
            height: 40px;
            width: 200px;
            background-color: black;
            text-align: center; 
            a{
              &:hover{
                color: #f84949;
              }
            }
           }
        }
        }
        &:hover{
          div{
            display: block;
          }
        }

      }
      li:nth-child(5){
        position: relative;
        div{
          position: absolute;
          top: 25px;
          left: -10px;
          display: none;
         ul{
           li{
            height: 40px;
            width: 100px;
             background-color: black;
            color: white;
            text-align: center; 
            a{
              &:hover{
                color: #f84949;
              }
            }
           }
        }
        }
        &:hover{
          div{
            display: block;
          }
        }

      }
    
    }
  }
  // icon---------------------------
  .icon{
    display: flex;
    margin-left: 20px;
    justify-content: space-between;
    // background-color: blue;
    height: 74px;
    flex-grow: 1;
    a{
      padding: 25px 0;
      text-decoration: none;
      i{
        color: white;
        font-size: 20px;
      }
    }
  }
  // 登录
  .dl{
    // background-color: cadetblue;
    flex-grow: 2;
    height: 74px;
    ul{
      height: 74px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding-left: 20px;
      a{
        text-decoration: none;
        color: white;
        min-width: 32px;
      }
    }
  }
}

//轮播图

.zdy-carousel img{height: auto;}
.zdy-yao img{
  width: 100%;
  height: 90px;
}
// 介绍
.zdy-service img{
  height: 50px;
  width: 62.5px;
  margin: auto;
  
}
.zdy-service{
  min-width: 480px;
  div{
    min-width: 120px;
    p{
      text-align: center;
      font-size: 14px;
    }
  }
}

//输入框
.zdy-input{
  height: 54px;
  width: 80%;
  .tu{
    display: flex;
    height: 54px;
    width: 11%;
    min-width: 80px;
    p{
      display: block;
      text-align: center;
      margin: 17px auto;
      margin-right: 5px;
      margin-left: 27.5px;
    }
  }
  .w{width: 7%;
    min-width: 20px;
    >img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 17px;
    margin-bottom: 17px;
    }
  
    
  }
  input{
    height: 20px;
    border: none;
    outline: none;
    margin: 17px;
  }
  
  div{
    height: 54px;
    width: 54px;
    border-color: #f84949;
    justify-content: flex-end;
    img{
      position: relative;
      right: 0;
      width: 20px;
      height: 20px;
      margin: 17px;
      justify-content: flex-end;
    }
  }
}
// 下拉菜单
.dropdown-item{
  background-color: white;
  &:hover{color: #f84949;}
}
.dropdown-toggle{min-width: 45.8px;}

// 轮播图和输入框
.zdy-all{
  position: relative;
  z-index: 1;
  .zdy-input{
    position: absolute;
    top: 50%;
    left: 10%;
    .chaxun{background-color: #f84949;}
  }
}

.zdy-btn{
  height: 80px;
  button{
    width: 280px;
    height: 50px;
    margin: auto;
  }
}


//图组
.group{
  .cord{
    img{height: 320px;
      height: 400px;
      display: block;
      margin:auto ;}
    .cord-body{
      margin: auto;
      background-color: white;
      width: 340px;
      height: 74px;
      position: relative;
      bottom: 40px;
      p{text-align: center;}
      h2{text-align: center;color: #f84949;}
    }
    &:hover{
      .cord-body{background-color: #f84949;
        h2{color: white;}
        p{color: white;}
      }
    }
  }
}

// 循环图
.box {
  width: 90%;
  margin:30px auto 0;
  overflow: hidden;
  
}

/* 浮动布局方法 */
/* 弹性布局 */
.box ul {
  /* 父元素宽度的2倍 */
  width: 200%;
  overflow: hidden;
  display: flex;
  animation: 10s move infinite linear;
  list-style: none;
}
.box ul:hover{
  /* 动画暂停 */
  animation-play-state: paused;
}

.box ul li {
  /* float: left; */
  /* 每个li应该占多少 */
  width: 12.5%;
  font-size: 12px;
  text-align: center;
}

.box ul li img {
  width: 70%;
}

/* 关键帧 */
@keyframes move {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
.qy{
  height: 70px;
  margin:50px auto 10px;
  h2{text-align: center;}
  div{
    width: 8%;
    height: 5%;
    background-color: #f84949;
    margin:10px auto 20px;

  }
}

// 结束
.end{
  height: 280px;
  .meun{
    width: 400px;
    padding: 20px;
    padding-left: 0;
    padding-bottom: 10px;
    .item{
        list-style: none;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        li{
          color: #6a6a6a;
          font-size: 12px;
          &::after{
            content: " |";
          }

        }
    }
  }
  p{
    color: #6a6a6a;
    font-size: 12px;
    padding-left: 35px;
  }
}

// 固定
.zdy-fixed{
  position: fixed;
  z-index: 20;
  a{
    text-decoration: none;
    position: fixed;
    
    right: 20px;
    bottom: 10px;
    i{color: #f84949;
      font-size: 50px;}
  }
}
  .a{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color:whitesmoke;
    position: fixed;
    right: 20px;
    bottom: 185px;
    &:hover{background-color: #f84949;}
  img{width: 30px;
    height: 30px;
    display: block;
    margin: auto;
  }
  a{color: #f84949;}
}
.b{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color:whitesmoke;
  position: fixed;
  right: 20px;
  bottom: 130px;
  &:hover{background-color: #f84949;}
img{width: 30px;
  height: 30px;
  display: block;
    margin: auto;
}

}
.c{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color:whitesmoke;
  position: fixed;
  right: 20px;
  bottom: 75px;
  &:hover{background-color: #f84949;}
img{width: 30px;
  height: 30px;
  display: block;
    margin: auto;
}
}

